$fontSize: 0.3rem;
$bgColor:#CCECCF;
$btnBgColor:#059D7F;
$borderRadius: 0.08rem;
$color: #059D7F;
body img {
  vertical-align: middle;
  width: 100%;
}
.top{
  padding-bottom: 1rem;
  background-color: $bgColor;
  position: relative;
  ul {
    padding-top: 0.1rem;
    padding-bottom: 0.56rem;
  }
  li {
    font-size: $fontSize;
    color: $color;
    text-align: center;
    line-height: 0.56rem;
    margin-bottom: 0.1rem;
  }
  li:nth-child(6),li:nth-child(7) {
    color: #fff;
    background-image: linear-gradient(-90deg, rgba(239,147,108,0.00) 0%, rgba(239,147,108,0.97) 21%, #EF936C 81%, rgba(239,147,108,0.00) 100%);
  }
}
.top_tf {
  height: 2rem;
  width: 7rem;
  padding: 0.2rem 0.71rem;
  box-sizing: border-box;
  background: #EDFFF2;
  border: 0.02rem solid #00A287;
  border-radius: $borderRadius;
  box-shadow: 0rem 0.01rem 0.2rem 0.01rem #00A287;
  position: absolute;
  bottom: -1rem;
  left: 0.24rem;
  ul {
    background: #EDFFF2;
  }
  li {
    width: 0.7rem;
    height: 0.7rem;
    position: absolute;
    top: 0.3rem;
    background: $btnBgColor;
    color: #fff;
    text-align: center;
    line-height: 0.7rem;
    font-size: 0.48rem;
    border-radius: 50%;
  }
  li:nth-child(1) {
    left: 0.7rem;
  }
  li:nth-child(2) {
    left: 1.3rem;
  }
  li:nth-child(3) {
    left: 1.9rem;
  }
  li:nth-child(4) {
    left: 2.5rem;
  }
  li:nth-child(5) {
    left: 3.8rem;
  }
  li:nth-child(6) {
    left: 4.4rem;
    background: $btnBgColor;
  }
  li:nth-child(7) {
    left: 5rem;
    background: $btnBgColor;
  }
  li:nth-child(8) {
    left: 5.6rem;
  }
  p {
    font-size: 0.54rem;
    color: #EF936C;
    padding-top: 0.3rem;
  }
  .top_tf_left {
    display: block;
    border-top: 0.12rem solid #CCECCF;
    border-left: 0.12rem solid #CCECCF;
    border-bottom: 0.12rem solid transparent;
    border-right: 0.12rem solid transparent;
    position: absolute;
    top: 0.96rem;
    left: -0.25rem;
  }
  .top_tf_right {
    display: block;
    border-top: 0.12rem solid #CCECCF;
    border-right: 0.12rem solid #CCECCF;
    border-bottom: 0.12rem solid transparent;
    border-left: 0.12rem solid transparent;
    position: absolute;
    top: 0.96rem;
    right: -0.27rem;
  }
}
.top_xue {
  font-size: $fontSize;
  color: $btnBgColor;
  padding-top: 1.7rem;
  padding-bottom: 0.12rem;
  padding-left: 0.24rem;
  padding-right: 0.24rem;
  li {
    line-height: 0.48rem;
    padding-bottom: 0.52rem;
    span:nth-child(2n) {
      margin-left: 0.2rem;
    }
    span:nth-child(2n-1) {
      margin-right: 0.2rem;
    }
  }
  p {
    width: 5.42rem;
    display: inline-block;
  }
  span {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #CCECCF;
    color: $btnBgColor;
    font-size: 0.64rem;
    text-align: center;
    line-height: 1.2rem;
    font-size: 700;
  }
}
.subject_list {
  position: relative;
  background-color: $bgColor;
  font-size: 0;
  margin-top: 1rem;
  button {
    width: 2.32rem;
    height: 0.9rem;
    color: #EF936C;
    font-size: 0.36rem;
    border: none;
    border: 0.02rem solid #EF936C;
    margin-top: 1.46rem;
    margin-bottom: 0.2rem;
    background: #fff;
  }
  .first_btn {
    margin-left: 0.24rem;
  }
}
.subject_list .btn_active {
  background: #EF936C;
  color: #fff;
}
.subject_list_title {
  height: 2rem;
  width: 7rem;
  padding: 0.2rem 0.71rem;
  box-sizing: border-box;
  background: #EDFFF2;
  border: 0.02rem solid #00A287;
  border-radius: $borderRadius;
  box-shadow: 0rem 0.01rem 0.2rem 0.01rem #00A287;
  margin: 0 auto;
  margin-bottom: 0.46rem;
  position: absolute;
  top: -1rem;
  left: 0.24rem;
  p {
    font-size: 0.56rem;
    color: $btnBgColor;
    font-weight: 700;
    text-align: center;
    padding-top: 0.2rem;
  }
}
.english {
  width: 7rem;
  font-size: $fontSize;
  color: $btnBgColor;
  margin: 0 auto;
  padding-bottom: 0.5rem;
  h3 {
    height: 0.7rem;
    background-color: $btnBgColor;
    line-height: 0.7rem;
    text-align: center;
    color: #fff;
    font-size: 0.32rem;
  }
  ul {
    margin-bottom: 0.2rem;
    background: #EDFFF2;
    border-left: 0.02rem solid $btnBgColor;
    border-right: 0.02rem solid $btnBgColor;
  }
  li {
    span {
      float: left;
      width: 0.98rem;
      text-align: center;
      border-bottom: 0.02rem solid $btnBgColor;
    }
  }
  p {
    line-height: 0.6rem;
    margin-left: 0.98rem;
    padding-left: 0.4rem;
    border-bottom: 0.02rem solid $btnBgColor;
    border-left: 0.02rem solid $btnBgColor;
  }
}
.desc {
  background: #ABE6C3;
  padding: 0.28rem 0 1.8rem;
  p {
    margin: 0 auto;
    width: 7rem;
    padding: 0.34rem 0.3rem;
    box-sizing: border-box;
    line-height: 0.56rem;
    color: $btnBgColor;
    font-size: $fontSize;
    border: 0.02rem solid $btnBgColor;
    border-radius: $borderRadius;
    background: #EDFFF2;
  }
}
.knowledge {
  padding-top: 0.8rem;
  color: $btnBgColor;
  border-radius: 100px 100px 0 0;
  position: relative;
  top: -0.8rem;
  h3 {
    font-size: 0.56rem;
    text-align: center;
    font-weight: 400;
  }
}
.yuan {
  position: absolute;
  top: -0.2rem;
}
.know_desc {
  font-size: 0.32rem;
  text-align: center;
  padding: 0.2rem 0;
}
.know_price {
  width: 7rem;
  height: 0.84rem;
  border: 0.02rem solid $btnBgColor;
  border-radius: $borderRadius;
  margin: 0 auto;
  margin-top: 0.1rem;
  margin-bottom: 0.8rem;
  p {
    width: 6.8rem;
    height: 0.64rem;
    line-height: 0.64rem;
    margin: 0 auto;
    margin-top: 0.1rem;
    background: #E1F8ED;
    color: $btnBgColor;
    font-size: 0.4rem;
    text-align: center;
    span {
      color: #6C7075;
      font-size: 0.32rem;
      text-decoration: line-through;
      margin-left: 0.28rem;
    }
  }
}
.service {
  padding: 0 0.44rem;
  font-size: $fontSize;
  position: relative;
  h3 {
    font-size: 0.48rem;
    color: $btnBgColor;
    padding-bottom: 0.3rem;
    border-bottom: 0.02rem solid #D9D9D9;
    text-align: center;
    margin-bottom: 0.4rem;
  }
  span {
    display: block;
    position: absolute;
    top: 0.1rem;
    left: 2.2rem;
    border-top: 0.2rem solid #EF936C;
    border-left: 0.1rem solid transparent;
    border-right: 0.1rem solid transparent;
    border-bottom: 0.2rem solid transparent;
  }
  .ser_right {
    left: 5rem;
  }
}
.service_desc {
  line-height: 0.5rem;
}
.qa_desc {
  background: #FFB878;
  color: #030303;
  padding-bottom: 1.36rem;
  li {
    width: 7rem;
    background: #FFFFFF;
    border: 0.04rem solid #000000;
    padding: 0.46rem 0.3rem;
    box-sizing: border-box;
    margin: 0 auto;
    border-radius: $borderRadius;
    margin-bottom: 0.2rem;
  }
  h3 {
    font-size: 0.4rem;
    line-height: 0.6rem;
    padding-bottom: 0.2rem;
    text-align: center;
  }
  p {
    font-size: $fontSize;
    line-height: 0.5rem;
  }
}
.tf_share_question  {
  position: relative;
  img {
    position: absolute;
    top: -0.96rem;
  }
  h3 {
    font-size: 0.72rem;
    color: $btnBgColor;
    padding-bottom: 0.36rem;
    font-weight: 400;
    text-align: center;
    padding-top: 0.68rem;
  }
} 
.tf,.share,.question {
  width: 7rem;
  background: #EDFFF2;
  border: 0.02rem solid #00A287;
  border-radius: 0.16rem;
  padding: 0.3rem 0.5rem;
  box-sizing: border-box;
  margin: 0 auto;
  font-size: $fontSize;
}
.tf {
  h4 {
    width: 5.12rem;
    height: 0.6rem;
    background: $btnBgColor;
    color: #fff;
    line-height: 0.6rem;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 0.3rem;
    border-radius: 2rem;
    font-weight: 400;
  }
  p {
    font-size: $fontSize;
    line-height: 0.5rem;
  }
}
.share {
  p {
    font-size: $fontSize;
    line-height: 0.5rem;
  }
  span {
    display: inline-block;
    width: 0.56rem;
    height: 0.56rem;
    background-color: $btnBgColor;
    color: #fff;
    line-height: 0.56rem;
    text-align: center;
    font-size: 0.36rem;
    border-radius: 50%;
    margin-right: 0.36rem;
  }
}
.question {
  font-size: $fontSize;
  margin-bottom: 1.3rem;
  span {
    color: $btnBgColor;
    padding-bottom: 0.23rem;
    line-height: 0.4rem;
    font-weight: 700;
  }
  p {
    line-height: 0.5rem;
    color: #030303;
    padding-bottom: 0.5rem;
    padding-top: 0.2rem;
  }
  .zx {
    width: 6.28rem;
    height: 0.6rem;
    display: block;
    padding: 0;
    text-decoration: none;
    color: #fff;
    background-color: $btnBgColor;
    text-align: center;
    line-height: 0.6rem;
    border-radius: 2rem;
    margin-bottom: 0.1rem;
    margin-left: -0.18rem;
  }
}
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: #fff;
  border-top: 0.02rem solid #EEE;
  font-size: 0;
  a {
    width: 2.48rem;
    height: 1rem;
    display: inline-block;
    font-size: 0.3rem;
    border-radius: 0.04rem;
    text-decoration: none;
    text-align: center;
    color: #030303;
    line-height: 1rem;
  }
}